package com.freesky.biz.activity.mapper;

import com.freesky.biz.activity.domain.TStockMch;
import com.freesky.biz.activity.domain.TStockMonitor;
import com.freesky.biz.activity.domain.TStockMonitorSummary;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StockMonitorMapper {
    public List<TStockMonitor> findList(TStockMonitor entity);

    public TStockMonitorSummary selectSummaryData(TStockMonitor entity);

    public int updateAlarmFlag(TStockMonitor entity);

    //JOB
    public List<TStockMonitor> findStockMonitorList();

    TStockMonitor selectById(@Param("id") String id);
    public int updateStockMonitorById(TStockMonitor stockMonitor);
    public int addStockMonitor(TStockMonitor stockMonitor);
    public List<TStockMch> findStockMchList();
    public int updateStockMchById(TStockMch stockMch);
}
